<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>My JSP 'loan_info.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
<LINK HREF="style.css" TYPE="text/css" REL="stylesheet">
	<link rel="stylesheet" type="text/css" href="jsp/JSCal2/css/jscal2.css" />
    <link rel="stylesheet" type="text/css" href="jsp/JSCal2/css/border-radius.css" />
    <link rel="stylesheet" type="text/css" href="jsp/JSCal2/css/steel/steel.css" />
    <script type="text/javascript" src="jsp/JSCal2/js/jscal2.js"></script>
    <script type="text/javascript" src="jsp/JSCal2/js/lang/cn.js"></script>

	</head>

	<body>
	<s:form action="loanInfo">
	<s:textfield name="loan.loanId" label="loanId"></s:textfield>
	<s:textfield name="loan.amount" label="amount"></s:textfield>
	<s:select name="guaWay" list="#{'guarantee':'保证','mortgage':'抵押','pledge':'质押'}" label="guaranteeType"></s:select>
	<s:textfield name="loan.date" label="date" id="date" readonly="true"></s:textfield>
                        <script>//<![CDATA[
Calendar.setup({ trigger: "date", inputField: "date", onSelect: function() { this.hide() }});
//]]></script>
<s:submit></s:submit>
	</s:form>
	</body>
</html>
